package org.springcloud.wisdom.spring_01_canteen.indentdetail;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("wisdom.indentdetail")
public class IndentDetail {
    //主键
    @TableId(type = IdType.AUTO, value = "wisdom.indentdetail.id")
    private Integer id;
    //订单号
    @TableField("wisdom.indentdetail.indentdetailid")
    private String indentdetailid;
    //菜品名称
    @TableField("wisdom.indentdetail.dname")
    private String dname;
    //价格
    @TableField("price")
    private Double price;
    //数量
    @TableField("count")
    private Integer count;

}
